import request from '@/utils/request'

// 查询考勤数据表列表
export function listKq_attendance(query) {
  return request({
    url: '/kaoqin/kq_attendance/list',
    method: 'get',
    params: query
  })
}

// 查询考勤数据表详细
export function getKq_attendance(id) {
  return request({
    url: '/kaoqin/kq_attendance/' + id,
    method: 'get'
  })
}

// 新增考勤数据表
export function addKq_attendance(data) {
  return request({
    url: '/kaoqin/kq_attendance',
    method: 'post',
    data: data
  })
}

// 修改考勤数据表
export function updateKq_attendance(data) {
  return request({
    url: '/kaoqin/kq_attendance',
    method: 'put',
    data: data
  })
}

// 删除考勤数据表
export function delKq_attendance(id) {
  return request({
    url: '/kaoqin/kq_attendance/' + id,
    method: 'delete'
  })
}
